import http from '@/utils/request';

export const getBannerApi = () => http.get('/admin/banner/list');
export const removeBannerApi = (params?: object) =>
  http.get('/admin/banner/delete', params);
export const addBannerApi = (data?: object) =>
  http.post('/admin/banner/add', data);
